<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		https://www.yuque.com/zhoushuang-36x7c/fsctbu/yu3zif
		
		<script>
			function Fn(x, y) {
			    let sum = 10;
			    this.total = x + y;             
			    this.say = function () {
			        console.log(`我计算的和是:${this.total}`);
			    };
			    return {name:"lili"};
			}
				
			let f1 = new Fn(10, 20); //构造函数执行
			
			console.log(f1);
		</script>
	</body>
</html>
